public class Staff {
    public String staffId;
    public String staffName;
    public String gender;
    public int seniority;
    public int baseSalary;
    public int maritPay;

    public void work(){
        System.out.println("正在工作");
    };

    public int getPaid(){
        return baseSalary+maritPay;
    }

}
